const ap = new APlayer({
    container: document.getElementById('aplayerfixed'),
    autoplay: true,
    lrcType: 1,
    fixed: true,
    audio: [{
            name: '花花世界',
            artist: '尤起胜\/夏婉安',
            url: 'http://www.0dutv.cn/plug/down/up2.php/278271653.mp3',
            cover: 'http://www.0dutv.cn/upload/dancepic/20201106/202011061333378052653.jpg',
            lrc: lrc[0].lrc
        },
       /*  歌曲失效，可能被管理员删除，无法获取播放// {
            name: '醉相思（DJ名龙版）',
            artist: '香子',
            url: 'http://www.0dutv.cn/plug/down/up2.php/273902912.mp3', 
            cover: 'http://www.0dutv.cn/upload/dancepic/20201103/2020110316404010357434.jpg',
            lrc: lrc[0].lrc
        },
        {
            name: '人为情叹（DJ沈念版）',
            artist: '阿悠悠',
            url: 'http://www.0dutv.cn/plug/down/up2.php/275645052.mp3', 
            cover: 'http://www.0dutv.cn/upload/dancepic/20201030/2020103010302610092833.jpg',
            lrc: lrc[0].lrc
        },*/
        {
            name: '不配怀念（DJheap九天版）',
            artist: '小倩',
            url: 'http://www.0dutv.cn/plug/down/up2.php/256219527.mp3', 
            cover: 'http://www.0dutv.cn/upload/dancepic/20201027/202010271621398275870.jpg',
            lrc: lrc[0].lrc
        },
        {
            name: '忘川彼岸 (DJ名龙版)',
            artist: '零一九零贰',
            url: 'http://www.0dutv.cn/plug/down/up2.php/273437983.mp3', //'./song/零一九零贰 - 忘川彼岸 (DJ名龙版).mp3',
            cover: 'images/songImg/01902.jpg',
            lrc: lrc[1].lrc
        },
        {
            name: 'Shape of You',
            artist: 'J.Fla',
            url: 'http://music.163.com/song/media/outer/url?id=468882985.mp3',
            cover: 'images/songImg/Shape_of_You.jpg',
            lrc: lrc[2].lrc
        },
        {
            name: 'All Falls Down',
            artist: 'J.Fla',
            url: 'http://music.163.com/song/media/outer/url?id=518895684.mp3',
            cover: 'images/songImg/J Fla.jpg',
            lrc: lrc[3].lrc
        },
    ]
});
// 添加一个或几个新音频到播放列表
ap.list.add([{
        name: '命运石之门OPHackingtothegate',
        artist: 'Raon Lee',
        url: 'http://music.163.com/song/media/outer/url?id=453176018.mp3',
        cover: 'images/songImg/mingyun.jpg',
        lrc: lrc[0].lrc
    },
    {
        name: '笑纳 (DJ沈念版)',
        artist: '花僮',
        url: 'http://www.0dutv.cn/plug/down/up2.php/275534914.mp3', //./song/花僮 - 笑纳 (DJ沈念版).mp3',
        cover: 'http://www.0dutv.cn/upload/dancepic/20201027/202010271040329010866.jpg', //'images/songImg/xiaona.jpg',
        lrc: lrc[4].lrc
    },
    {
        name: '得过且过',
        artist: '白小白',
        url: 'http://music.163.com/song/media/outer/url?id=1355916784.mp3',
        cover: 'http://p2.music.126.net/AutsyW9MVhu_5EFgZGrfJQ==/109951163973514236.jpg',
        lrc: lrc[5].lrc
    }
]);

// ap.lrc.hide(); //隐藏歌词
// ap.lrc.toggle();// 显示&隐藏歌词